<?php
class DayHelper {
	
	public static function getGmdate($nunm_of_days) {
		return gmdate('Y-m-d', time()-$nunm_of_days*24*60*60); 
	}
}